package com.sw.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sw.dao.UserDao;
import com.sw.model.User;
import com.sw.service.UserInfoService;

@Service
public class UserInfoServiceImpl implements UserInfoService {

	@Autowired
	private UserDao userDao;
	
	@Override
	public User getUserInfo(Integer id) {
		
		return userDao.getUserById(id);
	}

}
